﻿using Orchard.DisplayManagement;
using Orchard.Themes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace NineSeas.Dashboard.Controllers
{
    public class HomeController : Controller
    {
        private readonly dynamic _shapeFactory;

        public HomeController(IShapeFactory shapeFactory)
        {
            _shapeFactory = shapeFactory;
        }
        [Themed(false)]
        public ActionResult Index(string data = "")
        {
            return View(_shapeFactory.Home(Test: "Test..."));
        }

    }
}
